package com.liusand.service;

import com.liusand.dto.AddressBookDto;
import com.liusand.dto.IdDto;
import com.liusand.vo.AddressBookVo;

import java.util.List;

/**
 * @author :liusha
 * packageName :com.liusand.service
 * fileName :AddressBookService
 * creationTime :2022/12/5 16:56
 */
public interface AddressBookService {
    List<AddressBookVo> list();

    AddressBookVo findAddressBookById(String id);

    AddressBookVo findDefaultAddressBook();

    boolean modifyDefaultAddressBook(IdDto idDto);

    boolean addAddressBook(AddressBookDto addressBookDto);

    boolean modifyAddressBook(AddressBookDto addressBookDto);

    boolean removeAddressBooksByIds(List<String> idList);
}
